package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.time.LocalDateTime;

/**
 * 会议室管理对象 room
 * 
 * @author ruoyi
 * @date 2025-01-06
 */
public class Room extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 会议室id */
    private Long roomId;

    /** 会议室地点 */
    @Excel(name = "会议室地点")
    private String roomAddress;

    /** 会议室最大容纳人数 */
    @Excel(name = "会议室最大容纳人数")
    private Long roomMax;

    /** 会议室状态（0：使用，1：空闲，2：保修中） */
    @Excel(name = "会议室状态", readConverterExp = "0=：使用，1：空闲，2：保修中")
    private String status;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private LocalDateTime createdAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private LocalDateTime updatedAt;

    /** 逻辑删除（0：存在，2：删除） */
    private String isDeleted;

    public void setRoomId(Long roomId) 
    {
        this.roomId = roomId;
    }

    public Long getRoomId() 
    {
        return roomId;
    }
    public void setRoomAddress(String roomAddress) 
    {
        this.roomAddress = roomAddress;
    }

    public String getRoomAddress() 
    {
        return roomAddress;
    }
    public void setRoomMax(Long roomMax) 
    {
        this.roomMax = roomMax;
    }

    public Long getRoomMax() 
    {
        return roomMax;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCreatedAt(LocalDateTime createdAt) 
    {
        this.createdAt = createdAt;
    }

    public LocalDateTime getCreatedAt() 
    {
        return createdAt;
    }
    public void setUpdatedAt(LocalDateTime updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public LocalDateTime getUpdatedAt() 
    {
        return updatedAt;
    }
    public void setIsDeleted(String isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public String getIsDeleted() 
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("roomId", getRoomId())
            .append("roomAddress", getRoomAddress())
            .append("roomMax", getRoomMax())
            .append("status", getStatus())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .append("isDeleted", getIsDeleted())
            .toString();
    }
}
